#ifndef SHAPEUTILS_H
#define SHAPEUTILS_H

class CollisionShapesDocument;

void findMinMaxValues(int x, int y, int& minX, int& maxX, int& minY, int& maxY);

int alphaValue(int x, int y, const QImage& image);
void calculateSilhouette(QPointer<CollisionShapesDocument> csDoc, const QPixmap& pm, const QRect& pmRect);

#endif // SHAPEUTILS_H
